import request from '@/utils/request'
function formatRequestUri(name) {
  return 'file/pdf/' + name
}
export function Convert(data) {
  return request({
    url: formatRequestUri('Convert'),
    method: 'post',
    data
  })
}

export function Get(taskId) {
  return request({
    url: formatRequestUri('Get'),
    method: 'get',
    params: {
      taskId
    }
  })
}
